Skip to content

TaskObservableMethodBuilder.Start(TStateMachine) method

Defined in

Type: TaskObservableMethodBuilder Namespace: System.Runtime.CompilerServices Assembly: System.Reactive.dll

Applies to

netstandard2.0

public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine

Summary: Begins running the builder with the associated state machine.

Type parameters

NameDescription
TStateMachineThe type of the state machine.

Parameters

NameTypeDescription
ref stateMachineTStateMachineThe state machine instance, passed by reference.

Exceptions

TypeCondition
System.ArgumentNullExceptionstateMachine is null.